<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<jsp:include page="head.jsp"/>
<form action="${empty param.id?'SellerGoodsAddServlet':'SellerGoodsUpdateServlet'}">
商品名称：<input type="text" name="gname" value="${param.name}"><br>
商品价格：<input type="text" name="gprice" value="${param.price }"><br>
商品库存：<input type="text" name="gaccount" value="${param.account}"><br>
<input type="hidden" name="gid" value="${param.id}">
<input type="hidden" name="currentPage" value="${param.currentPage}">
<input type="submit" value="${empty param.id?'添加':'修改'}">
</form>
</body>
</html>